#ifndef NONRATIONALCURVEITEM_H
#define NONRATIONALCURVEITEM_H
#include "curveitem.h"
#include "curvelib/inonrational.h"

typedef curveLib::INonRational< QPointF, QVector<QPointF> > INonRatioF;

class CurveScene;

class NonRationalCurveItem : public CurveItem
{
public:
    NonRationalCurveItem(INonRatioF *numCurve, CurveScene *scene);
    void AddPoint(const QPointF &pos);

private:
    INonRatioF *m_numCurve;
};

#endif // NONRATIONALCURVEITEM_H
